use engine::Engine;

pub mod engine;
pub mod renderer;
pub mod transform;
pub mod tag;

fn main() {
    let mut engine = Engine::new();
    let entity = engine.create_entity();
    
    engine.entity_add_tag(entity, tag::Component::new("Foobar"));
    engine.entity_add_transform(entity, transform::Component::new());
    engine.entity_add_renderer(entity, renderer::Component {  });
    
    game_loop(&mut engine);
}

fn game_loop(engine: &mut Engine) {
    engine.update()
}
